package com.data.app.pojo.pg;

import com.data.app.commons.constant.CommonConstant;
import lombok.Data;
import org.geolatte.geom.Geometry;

import javax.persistence.*;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.sql.Timestamp;
import java.util.Objects;

@Data
@Entity
//@Table(name = "risk_census_country_dl_house", schema = "public", catalog = "sharedata")
@Table(name = CommonConstant.TABLE_NAME_COUNTRY_DL_HOUSE, schema = "public", catalog = "sharedata")
public class CountryDlHouseEntity {
    @Id
    @Column(name = "bh", nullable = true, length = -1)
    private String bh;//唯一主键
    @Column(name = "province", nullable = true, length = -1)
    private String province;//省（市 区）
    @Column(name = "city", nullable = true, length = -1)
    private String city;//市（州 盟）
    @Column(name = "district", nullable = true, length = -1)
    private String district;//县（市 区 旗）
    @Column(name = "town", nullable = true, length = -1)
    private String town;//乡（镇街道）
    @Column(name = "village", nullable = true, length = -1)
    private String village;//社区
    @Column(name = "address", nullable = true, length = -1)
    private String address;//建筑地址
    @Column(name = "dcmj", nullable = true, length = -1)
    private BigDecimal dcmj;//建筑面积
    @Column(name = "jznd", nullable = true, length = -1)
    private String jznd;//(新)建造年代
    // private BigDecimal gd;
    // private String buildTime;
    // private Integer czrk;
    @Column(name = "cs", nullable = true, length = -1)
    private Integer cs;//建筑层数
    @Column(name = "jglx", nullable = true, length = -1)
    private String jglx;//结构类型
    @Column(name = "jzfs", nullable = true, length = -1)
    private String jzfs;//建造方式
    @Column(name = "sfkzjg", nullable = true, length = -1)
    private String sfkzjg;//是否进行过抗震加固
    @Column(name = "jgsj", nullable = true, length = -1)
    private String jgsj;//抗震加固时间
    @Column(name = "kzgzcs", nullable = true, length = -1)
    private String kzgzcs;//抗震构造措施
    // private String fwsgfs;
    @Column(name = "fwsjfs", nullable = true, length = -1)
    private String fwsjfs;//是否进行专业设计
    @Column(name = "ywlfbxqx", nullable = true, length = -1)
    private String ywlfbxqx;//变形损伤（有无明显墙体裂缝、屋面塌陷、墙柱倾斜、地基沉降等）
    @Column(name = "sfjgaqjd", nullable = true, length = -1)
    private String sfjgaqjd;//是否经过安全鉴定
    @Column(name = "aqjdnf", nullable = true, length = -1)
    private String aqjdnf;//鉴定时间
    @Column(name = "aqjdjl", nullable = true, length = -1)
    private String aqjdjl;//鉴定结论等级
    @Column(name = "jdsfaq", nullable = true, length = -1)
    private String jdsfaq;//安全性鉴定
    // private String sfzxgkj;
    // private String gznr;
    @Column(name = "kzsfqk", nullable = true, length = -1)
    private String kzsfqk;//抗震设防情况
    //private String sfszcg;
    @Column(name = "shape", nullable = true, length = -1)
    private Geometry shape;//矢量面
    @Column(name = "fxpc_xzqhbma_sjgl", nullable = true, length = -1)
    private String fxpcXzqhbmaSjgl;//行政区划编码省
    @Column(name = "fxpc_xzqhbmb_sjgl", nullable = true, length = -1)
    private String fxpcXzqhbmbSjgl;//行政区划编码市
    @Column(name = "fxpc_xzqhbmc_sjgl", nullable = true, length = -1)
    private String fxpcXzqhbmcSjgl;//行政区划编码县
    @Column(name = "fxpc_updatetime_sjgl", nullable = true, length = -1)
    private String fxpcUpdatetimeSjgl;//更新时间
    @Column(name = "fxpc_createtime_sjgl", nullable = true, length = -1)
    private String fxpcCreatetimeSjgl;//写入时间
    @Column(name = "fxpc_sjzt_sjgl", nullable = true, length = -1)
    private String fxpcSjztSjgl;//数据状态
    @Column(name = "fxpc_shlczt_sjgl", nullable = true, length = -1)
    private String fxpcShlcztSjgl;//审核流程状态
    @Column(name = "fxpc_shzt_sjgl", nullable = true, length = -1)
    private String fxpcShztSjgl;//审核状态
    @Column(name = "fxpc_sshy_sjgl", nullable = true, length = -1)
    private String fxpcSshySjgl;//所属行业
    @Column(name = "fxpc_rqfp_sjgl", nullable = true, length = -1)
    private String fxpcRqfpSjgl;//日期分片
    @Column(name = "fxpc_pch_sjgl", nullable = true, length = -1)
    private String fxpcPchSjgl;//批次号
    @Column(name = "fxpc_dcdxbm_sjgl", nullable = true, length = -1)
    private String fxpcDcdxbmSjgl;//调查对象编码
    @Column(name = "fxpc_dataid_sjgl", nullable = true, length = -1)
    private String fxpcDataidSjgl;//物理主键

}
